package pl.kosmowska.ewelina.client.app.requestfactory;

import pl.kosmowska.ewelina.client.app.requestfactory.dto.UserDataProxy;
import pl.kosmowska.ewelina.server.dao.UserDataDAO;
import pl.kosmowska.ewelina.server.locators.EntityServiceLocator;

import com.google.web.bindery.requestfactory.shared.InstanceRequest;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;


@Service(value = UserDataDAO.class, locator = EntityServiceLocator.class)
public interface UserDataRequest extends RequestContext {

  Request<UserDataProxy> findUserData(String id);
  
  Request<UserDataProxy> createUserData();
  
}
